package com.jumi.microservice.dto.shoppingcart;

import com.jumi.microservice.common.base.dto.BaseRequest;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author Dirk
 * @Date 2020-08-31 11:08
 */
public class ShoppingCartRequest extends BaseRequest {
    private static final long serialVersionUID = -3066037982341761493L;

    @ApiModelProperty(value = "用户ID", hidden = true, example = "0")
    private Long uid;

    @ApiModelProperty(value = "购物车ID",example = "0")
    private Integer shoppingCartId;

    @ApiModelProperty(value = "商品ID", example = "0")
    private Integer goodsId;

    @ApiModelProperty("数量")
    private Integer amount;

    @ApiModelProperty("是否重新选择数量")
    private Byte isReselectAmount;

    public Byte getIsReselectAmount() {
        return isReselectAmount;
    }

    public void setIsReselectAmount(Byte isReselectAmount) {
        this.isReselectAmount = isReselectAmount;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Integer getShoppingCartId() {
        return shoppingCartId;
    }

    public void setShoppingCartId(Integer shoppingCartId) {
        this.shoppingCartId = shoppingCartId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }
}
